package com.joplus.housekeeper.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/8/17.
 */
public class InterestUpdate {


    /**
     * accountId : acc14683001040020Byr
     * likeList : ["insert2","insert3"]
     * dislikeList : ["in1470980645768eQeR","in1470980645768EnkA"]
     */

    private String accountId;
    private List<String> likeList;
    private List<String> dislikeList;

    @Override
    public String toString() {
        return "InterestUpdate{" +
                "accountId='" + accountId + '\'' +
                ", likeList=" + likeList.toString() +
                ", dislikeList=" + dislikeList.toString() +
                '}';
    }

    public InterestUpdate(){
        likeList=new ArrayList<>();
        dislikeList=new ArrayList<>();
    }
    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public List<String> getLikeList() {
        return likeList;
    }

    public void setLikeList(List<String> likeList) {
        this.likeList = likeList;
    }

    public List<String> getDislikeList() {
        return dislikeList;
    }

    public void setDislikeList(List<String> dislikeList) {
        this.dislikeList = dislikeList;
    }

    public void addLikeList(String s){
        likeList.add(s);
    }

    public void addDislike(String s){
        dislikeList.add(s);
    }
}
